<template>
     <el-table :data="tableData" stripe border style="width: 100%">
        <el-table-column prop="code" label="收付款编号" width="300">
        </el-table-column>
        <el-table-column
            label="收付款时间"
            width="250"
            >
                <template slot-scope="scope">
                    {{ scope.row.time}}
                </template>
            </el-table-column>
        <el-table-column prop="price" label="收付款金额" width="250">
        </el-table-column>
        <el-table-column prop="type" label="收付款类型">
        </el-table-column>
    </el-table>
</template>

<script>
    export default {
        data() {
            return {
                tableData: [
                    {
                        code: '201806041322303419946691',
                        time: '2018-06-04 13:22:30',
                        price: '0.4',
                        type: '收款'
                    }
                ]
            }
        }
        
    }
</script>

<style scoped>

</style>